package mmoon.mmoonstory.blocks;

import mmoon.mmoonstory.interfaces.InitBlock;
import net.minecraft.block.BlockCrops;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;

import javax.annotation.Nonnull;

public class BlockDiamondCrop extends BlockCrops implements InitBlock {
    public static final String ObjID = "Diamond_crop";

    public BlockDiamondCrop() {
        super();
        this.init(ObjID);
    }

    @Nonnull
    @Override
    protected Item getSeed() {
        return Items.DIAMOND;
    }

    @Nonnull
    @Override
    protected Item getCrop() {
        return Item.getItemFromBlock(Blocks.DIAMOND_BLOCK);
    }
}
